In graphics, a method of creating life-like computer-generated images which correctly show shadows and highlights on an object as if coming from a light source. Ray-tracing software calculates the direction of each ray of light, its reflection and how it looks on an object